package top.codecrab.cloudalibaba;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * exclude = DataSourceAutoConfiguration：取消数据源的自动创建
 *
 * @author codecrab
 * @since 2021年05月21日 16:31
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("top.codecrab.cloudalibaba.mapper")
public class LocalSeataStorageApplication {
    public static void main(String[] args) {
        SpringApplication.run(LocalSeataStorageApplication.class, args);
    }
}
